package me.itsoo.artemis.framework.core.eventbus;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * SubscriberTopic
 *
 * @author zxy
 * @version 0.0.1
 * @since 2023/6/14
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SubscriberTopic {

    /**
     * 订阅事件描述（topic 名称）
     *
     * @return String
     */
    String value() default "";

}
